package com.gs.dao;

import java.util.List;

import com.gs.bean.New;
import com.liang.util.Page;

public interface NewDAO {

	void addNew(New newNew);
	
	void deleteNew(Integer id);
	
	void updateNew(New updateNew);
	
	New findNew(Integer id);
	
	List<New> queryAll();
	
	Page<New> queryPage(New searchModel , int currentPage,int pageSize)throws Exception;
	
}
